package it.demosms.util;

/**
 * @author jxl
 */
public enum ResultStatusEM {
    OK("成功", 200),
    ERROR("失败", 500),
    UNAUTHORIZED_ERROR("未授权", 401),
    FORBIDDEN("拒绝访问", 403);

    private String msg;
    private Integer code;

    ResultStatusEM(String msg, Integer code) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
